
import Vue from 'vue'

import {
    Cell, CellGroup, Icon, Search, Button, Popup, Steps, NavBar, Image, Grid, GridItem, Panel, Skeleton,
    Step, Row, Col, Field, Uploader, Loading, PullRefresh,
    Form, Picker, DatetimePicker, Tabs, Tab, Tabbar, TabbarItem,
    RadioGroup, Radio, CheckboxGroup, Checkbox, List, DropdownMenu,
    DropdownItem, Collapse, CollapseItem, SwipeCell, Sticky, Stepper,
    Dialog, Toast, ImagePreview, NoticeBar, Notify
} from 'vant'

(() => {
    const vantPlugins = {
        Cell, CellGroup, Icon, Search, Button, Popup, Steps, NavBar, Image, Grid, GridItem, Panel, Skeleton,
        Step, Row, Col, Field, Uploader, Loading, PullRefresh,
        Form, Picker, DatetimePicker, Tabs, Tab, Tabbar, TabbarItem,
        RadioGroup, Radio, CheckboxGroup, Checkbox, List, DropdownMenu,
        DropdownItem, Collapse, CollapseItem, SwipeCell, Sticky, Stepper,
        Dialog, Toast, ImagePreview, NoticeBar, Notify
    }
    Object.keys(vantPlugins).forEach(key => {
        Vue.use(vantPlugins[key])
    });
})()



